OpenBSD: use G_N_ELEMENTS instead of nitems
authorAntoine Jacoutot <ajacoutot@gnome.org>
Mon, 9 Jul 2012 16:20:34 +0000 (18:20 +0200)
committerAntoine Jacoutot <ajacoutot@gnome.org>
Mon, 9 Jul 2012 16:20:34 +0000 (18:20 +0200)
commit974212ec825d8d50bdea8ab955b6f19b8ed1672f
treec74e84a2666a5d88939506332e804989aa983c85
parentb900016a05b9bdb3736fe79ce8413b6e5ba2efa3
OpenBSD: use G_N_ELEMENTS instead of nitems

nitems is never guaranteed to be defined in sys/params.h as it is meant
to be defined within a protected ifdef __KERNEL conditional.
Use G_N_ELEMENTS from GLib which is the proper way of doing this.
gtk/gtkmountoperation-x11.c